package chd.edu.spzx.user.mapper;

import chd.edu.spzx.model.entity.user.UserInfo;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author Zhang Chaoliang
 * create 2023
 */
@Mapper
public interface UserInfoMapper {

    /**
     * 根据用户名查询用户信息
     * @param username
     * @return
     */
    UserInfo selectByUsername(String username);

    /**
     * 添加用户
     * @param userInfo
     */
    void save(UserInfo userInfo);
}
